<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- <style>
        * {
            margin: 0px;
            padding: 0px;
        }
        * {
            box-sizing: border-box;
        }
        .login {
            display: flex;
            flex-direction: column;
            padding: 30px 15px 20px;
            /* justify-content: space-between; */
            width: 320px;
            height: 280px;
            margin: 100px auto;
            background-color: antiquewhite;
        }
        .login > section:nth-of-type(1),
        .login > section:nth-of-type(2) {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
        }
    </style> -->
</head>
<body>
    <!-- <div class="login">
        <section>
            <label for="user">用户名：</label>
            <input type="text" id="user">
        </section>
        <section>
            <label for="password">密码：</label>
            <input type="password" value="" id="password">
        </section>
        <section>
            <button>注册</button>
            <button onclick="demoFunction()">登录</button>
        </section>
    </div> -->
    <script>
    // function demoFunction(){
    //     var pass_word = document.getElementById("password").value;
    //     var Users = document.getElementById("user").value;
    //     if (pass_word == '666666')
    //         {
    //             window.alert("欢迎管理员");
    //         }
    //         else if ( pass_word == null || pass_word == '' )
    //         {
    //             window.alert("请输入密码");
    //         }
    //         else {
    //             window.alert("欢迎" + Users);
    //         }
    // }
        console.log(document.getElementById("xiaohu").innerHTML);
    </script>
    
    </body>
</html>